package com.ruoyi.project.cms.mm.delay.serivce;

import com.ruoyi.project.cms.mm.delay.domain.Delay;

import java.util.List;

public interface DelayService {
    /**
     * 查询多个延期申请
     * @param delay
     * @return
     */
    List<Delay> selectMoreDelays(Delay delay);

    //插入数据
    int insert(Delay delay);

    //根据did删除数据
    int deleteDelayBydid(String ids);

    //根据did查询审批信息
    Delay selectDelayByDid(Integer did);

    int updateDelay(Delay delay);

    List<Delay> selectDelaysByNext(Delay delay);

    Delay selectDelayDetailByDid(Integer did);

//    执行审批的操作
    int apprvDelay(Delay delay);

    List<Delay> selectDelaysByNextAndStatus(Delay delay);
}
